
import fr.sorbonne.inf5.yams.exceptions.AccessDataException;
import fr.sorbonne.inf5.yams.properties.BundleTool;
import fr.sorbonne.inf5.yams.controleur.ControleurApplication;
import fr.sorbonne.inf5.yams.model.CreationJeuYams;
import fr.sorbonne.inf5.yams.model.Yams;
import fr.sorbonne.inf5.yams.vue.VueApplication;
import java.util.Locale;
import java.util.logging.Level;
import java.util.logging.Logger;



/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Rich
 */
public class Main {

    public static void main(String[] args){
        BundleTool.setBundle(Locale.FRANCE);
        VueApplication vue = new VueApplication();
        
        Yams model= CreationJeuYams.renvoyerJeuYams();

        ControleurApplication ctrl= new ControleurApplication(vue, model);
        vue.abonnementPrincipale(ctrl);
    }

}
